/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package estg.dae.projecto.broker.data;

import estg.dae.projecto.broker.model.Bank;
import java.util.Collection;

/**
 *
 * @author mario
 */
public interface BankDaoLocal {
    
     Collection<Bank> getAll();

     void save(Bank  bank);

     void update(Bank bank);

     Bank get(long id);

     Bank get(String code);

     boolean exists(String code);
}
